*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: sans-serif;
    background-color: #e0e0e0; /* 灰色背景 */
}

.option {
    margin-top: 6vh;
    text-align: center;
}

.option h1 {
    color: #333333; /* 深灰色文字 */
    margin-bottom: 1vh;
}

.option h1 span {
    font-style: italic;
    color: #4d4d4d; /* 中等深灰色文字 */
}

.option h3 {
    color: #777777; /* 中等灰色文字 */
}

.option .radios {
    margin-top: 2vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3em;
}

.option .radios input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.option .radios label {
    display: inline-block;
    background-color: #f0f0f0; /* 浅灰色背景 */
    color: #555555; /* 中等灰色文字 */
    padding: 0.5em 1.4em;
    font-size: 1.2em;
    border-radius: 0.8em;
}

.option .radios label:hover,
.option .radios label:focus {
    cursor: pointer;
    outline: 0.2em solid #777777; /* 中等灰色轮廓 */
}

.option .radios input[type="radio"]:checked + label {
    color: white;
    background-color: #555555; /* 中等灰色背景 */
}

.login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.login form {
    width: 40vw;
    max-width: 800px;
    height: 40vh;
    max-height: 500px;
    border-radius: 2em;
    text-align: center;
    display: grid;
    place-items: center;
    padding: 2em;
    background-color: #f5f5f5; /* 更浅的灰色背景 */
    animation: dropdown .5s;
}

#login-form-admin {
    background-color: #cccccc; /* 较浅灰色背景 */
}

#login-form-user {
    background-color: #333333; /* 深灰色背景 */
    display: none;
}

.login input {
    min-width: 8em;
    max-width: 12em;
    margin-bottom: 1em;
    border: none;
    padding: 1em 2em;
    text-align: center;
    border-radius: 0.8em;
    background-color: #e0e0e0; /* 更浅的灰色背景 */
    color: #333333; /* 深灰色文字 */
}

button {
    border: none;
    padding: 1em 4em;
    text-align: center;
    border-radius: 0.8em;
    margin: auto;
    cursor: pointer;
    background-color: #555555; /* 中等灰色背景 */
    color: white;
    font-weight: bold;
}

button:hover,
button:focus {
    background-color: #333333; /* 深灰色背景 */
    color: white;
    outline: 2px solid white;
}

@keyframes dropdown {
    0% {
        scale: 1.2;
        opacity: 0;
    }
    50% {
        scale: .9;
        opacity: .5;
    }
    100% {
        scale: 1;
        opacity: 1;
    }
}